﻿-- =============================================
-- Author:		<Author,徐福龙>
-- Create date: <Create Date,2012 03 23>
-- Description:	<Description,用于创建 ERP与LCM之间 通信日志>
-- =============================================
CREATE PROCEDURE [dbo].[proc_Log_ERPtoLCM_Create]
(
	@ERP_ID   int,
	@EtoL_Type   nvarchar(50),
	@EtoL_Name   nvarchar(50),
	@I_U_D   nchar(10),
	@CanShu   nvarchar(500),
	@Return_0_1   int ,
	@PageUrl   nvarchar(500),
	@TYPE   nvarchar(10),
	@UserName   nvarchar(50) ,
	--@DateTime_Log   datetime ,
	@Flag   int
)
AS
BEGIN

INSERT INTO [LOG_ERPtoLCM]
           ([ERP_ID]
           ,[EtoL_Type]
           ,[EtoL_Name]
           ,[I_U_D]
           ,[CanShu]
           ,[Return_0_1]
           ,[PageUrl]
           ,[TYPE]
           ,[UserName]
           --,[DateTime_Log]
           ,[Flag])
     VALUES
           (
			@ERP_ID
			,@EtoL_Type
			,@EtoL_Name
			,@I_U_D
			,@CanShu
			,@Return_0_1
			,@PageUrl
			,@TYPE
			,@UserName
			--,@DateTime_Log
			,@Flag
)

    


END
